//也可以实现页面跳转
/*package com.peng.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class IndexController {
    @RequestMapping({"/","/index.html"})//localhost:8080/   或者 //localhost:8080/index.html
    public String index(){
        return "index";//跳转到index.html
    }
}*/

